package com.dempsey.gatewayclienthello.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Dempsey
 * Date 2022/4/19
 * Description
 */

@RestController
@RequestMapping("/demo")
public class DemoController {

    @GetMapping("/user")
    public String user(){
        return "i am hello , do user";
    }

    @GetMapping("/role")
    public String role(){
        return "i am hello , do role";
    }

}
